Use the following steps to create a parameter that enables the user to specify a list of customers for a specific country. This procedure is made up of two sets of steps. The first is creating the parameter, and the second is using the Select Expert to incorporate the parameter.
This procedure uses Group.rpt, a sample report that is included with the Crystal Reports software.
Tip:
Another way to do this is to click the Insert Fields button on the Standard toolbar.
The Field Explorer dialog box appears.
The Create Parameter Field dialog box appears.
This is the text that appears in the Enter Parameter Values dialog box when the report is refreshed. This example uses "Select a Country."
Note: When creating a parameter whose Value type is either Date or DateTime, you can change the date format to suit your needs. For details, see Changing your default field formats.
The Set Default Values dialog box appears.
This example will enable the user to choose from any of the countries. If you want to limit the selection, move only the countries you would like the user to choose from.
The Create Parameter Field dialog box appears.
The Field Explorer dialog box appears with the Country parameter selected.
Note: If you don't want to see the parameter field you dropped in your report, place it in a section you can suppress, such as a report header or footer.
Now you are ready to proceed to the second set of steps: To incorporate the parameter into the selection.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |